import request from '@/utils/request'

// 获取品牌数据
export const findBrand = (limit = 6) => {
  return request({
    url: '/home/brand',
    method: 'GET',
    data: { limit }
  })
}

// 获取广告数据
export const findBanner = () => {
  return request({
    url: '/home/banner',
    method: 'GET'
  })
}

// 获取新鲜毫无数据
export const findNew = () => {
  return request({
    url: 'home/new',
    method: 'GET'
  })
}
